cURL
curl --request POST \ --url https://app.plugchoice.com/api/v3/chargers/{charger_uuid}/licenses/payment-intent \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "product": "architecto" } '
{ "payment_intent": "pi_XXXX", "ephemeral_key": "ek_test_XXXX", "customer": "cus_XXXX", "publishable_key": "pk_test_XXXX" }
See the documentation for more information.
The sku of an existing record in the products table.
sku
"architecto"
"pi_XXXX"
"ek_test_XXXX"
"cus_XXXX"
"pk_test_XXXX"
Was this page helpful?